package core

type GatewayContext struct {
	Request  Request
	Response Response
}

func NewGatewayContext() GatewayContext {
	return GatewayContext{}
}

func NewRequest() Request {
	return Request{}
}

func NewResponse() Response {
	return Response{}
}

type Request struct {
	Header   map[string]string
	Body     []byte
	URL      string
	Ip       string
	Port     int
	Protocol string
	Method   string
}

type Response struct {
	Success int
	Msg     string
	Data    interface{}
}
